package com.plaform.helper.office.excel;

import com.platform.helper.date.DateFormatEnum;
import com.platform.helper.date.DateUtils;

import java.util.Date;

/**
 * describe:导入测试的实体类
 *
 * @author rainly
 * @date 2020/4/4
 * @time 9:20 下午
 */
public class User {
    private String id;
    private String name;
    private int age;
    private Date birthday;
    private String school;
    private Date createtime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", birthday=" + DateUtils.dateToString(birthday, DateFormatEnum.TIME)  +
                ", school='" + school + '\'' +
                ", createtime=" + DateUtils.dateToString(createtime, DateFormatEnum.TIME) +
                '}';
    }
}
